Vendidero\Germanized\Blocks\BlockTypes\AbstractBlock S

Total Complexity 46
Dependencies 4
Dependents 0
Total lines 397
Lines of code 185
Logical lines of code 76
Comment lines 169
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
register_block_type()
A
43 10 49
register_block_type_assets()
S
55 3 22
get_chunks_paths()
S
61 3 12
render_callback()
S
67 3 7
register_chunk_translations()
S
61 2 12
__construct()
S
73 2 5
enqueue_data()
S
65 2 10
enqueue_assets()
S
68 2 8
parse_render_callback_attributes()
S
78 2 3
get_block_type_script()
S
66 2 8
enqueue_scripts()
S
73 2 5
get_block_type_editor_script()
S
66 2 8
enqueue_editor_assets()
S
73 2 6
get_block_type_render_callback()
S
80 1 3
get_block_type_style()
S
73 1 4
get_block_type_supports()
S
82 1 3
get_block_type_attributes()
S
82 1 3
get_block_type_uses_context()
S
82 1 3
get_block_type()
S
80 1 3
render()
S
82 1 3
initialize()
S
73 1 5
get_block_type_editor_style()
S
82 1 3